package com.healthyeating.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.healthyeating.common.core.domain.BaseEntity;

/**
 * 咨询对象 tb_consult
 * 
 * @author 段奇乐
 * @date 2025-04-07
 */
public class Consult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 咨询表主键，自增 */
    private Long consultId;

    /** 旧食谱id */
    private Long oldRecipeId;

    /** 新食谱id */
    private Long newRecipeId;

    /** 用户id */
    private Long userId;

    /** 营养师id */
    private Long dietitianId;

    /** 建议内容 */
    private String suggestBody;

    public void setConsultId(Long consultId) 
    {
        this.consultId = consultId;
    }

    public Long getConsultId() 
    {
        return consultId;
    }
    public void setOldRecipeId(Long oldRecipeId) 
    {
        this.oldRecipeId = oldRecipeId;
    }

    public Long getOldRecipeId() 
    {
        return oldRecipeId;
    }
    public void setNewRecipeId(Long newRecipeId) 
    {
        this.newRecipeId = newRecipeId;
    }

    public Long getNewRecipeId() 
    {
        return newRecipeId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDietitianId(Long dietitianId) 
    {
        this.dietitianId = dietitianId;
    }

    public Long getDietitianId() 
    {
        return dietitianId;
    }
    public void setSuggestBody(String suggestBody) 
    {
        this.suggestBody = suggestBody;
    }

    public String getSuggestBody() 
    {
        return suggestBody;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("consultId", getConsultId())
            .append("oldRecipeId", getOldRecipeId())
            .append("newRecipeId", getNewRecipeId())
            .append("userId", getUserId())
            .append("dietitianId", getDietitianId())
            .append("suggestBody", getSuggestBody())
            .toString();
    }
}
